<?php
/**
//TempDesc
 */

class TempName extends Base
{
    //TempDefaultValue
    private $allFieldsDesc = 'TempAllDesc';
    public $isDbData = false;

    public function __construct()
    {
        parent::__construct();
    }


    public function __get($name) {
        return $this->$name;
    }

    public function __set($name, $value) {
        if(!$this->isDbData){
            if(!in_array($name,$this->loadedFiled))$this->loadedFiled[] = $name;
        }

        $this->$name=$value;
        $this->arr[$name] = $value;
    }

    public  function table()
    {
        return 'TempTable';
    }
    
    public  function key(){
        return 'TempKey';
    }


    public function getFieldDesc($fieldName){
        return $this->allFieldsDesc[$fieldName];
    }

    public function className()
    {
        return 'TempClassName';
    }
    
    public  function field()
    {
        return 'TempField';
    }

    public  function statusField()
    {
        return 'TempStatus';
    }
    public  function foreignField()
    {
        return 'TempForeign';
    }

    public  function searchField()
    {
        return 'TempSearch';
    }

    public  function hrefField()
    {
        return 'TempHref';
    }

    public  function titleField()
    {
        return 'TempTitle';
    }

    //@tag
}